package com.gaoxin.api.service.stuservice;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.gaoxin.api.dao.studao.QueryClassLeaderMapper;
import com.gaoxin.api.entity.stuentity.Leader;

/**
 * 查询辅导员（班主任）信息
 * @author zhaozhenshe
 *2018-08-02
 */
@Service
public class QueryClassLeaderService {
	@Autowired
	private QueryClassLeaderMapper classLeaderMapper;
	/**
	 * 根据院系、专业查询辅导员（班主任）信息
	 * @return
	 */
	public List<Leader> findClassLeader(String deptId,String majorId) throws Exception{
		return classLeaderMapper.findClassLeader(deptId, majorId);
	}
}
